home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / XML Utilities / Professional Programmer XSL IDE / Xselerator25.msi / Data.Cab / F33200_testTransformandsum.xsl < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-20  |  849 b   |  27 lines

  1. <xsl:stylesheet version="1.0"
  2. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. xmlns:func-transform="f:func-transform"
  4. exclude-result-prefixes="xsl func-transform"
  5. >
  6.    <xsl:import href="transform-and-sum.xsl"/>
  7.  
  8.    <!-- to be applied on testTransform-and-sum1.xml -->
  9.  
  10.    <xsl:output method="text"/>
  11.    
  12.    <func-transform:func-transform/>
  13.  
  14.     <xsl:template match="/">
  15.       <xsl:call-template name="transform-and-sum">
  16.         <xsl:with-param name="pFuncTransform" 
  17.                         select="document('')/*/func-transform:*[1]"/>
  18.         <xsl:with-param name="pList" select="/*/*"/>
  19.       </xsl:call-template>
  20.     </xsl:template>
  21.     
  22.     <xsl:template match="func-transform:*">
  23.       <xsl:param name="arg" select="0"/>
  24.       <xsl:value-of select="translate($arg, ',', '')"/>
  25.     </xsl:template>
  26.  
  27. </xsl:stylesheet>